package com.example.hackaton_it_planet.data.model

import com.example.hackaton_it_planet.data.model.entities.PurchaseEntity

data class Purchase(
    val id: Int,
    val name: String,
    val price: Double,
    val walletId: Int,
) {
    fun toPurchaseEntity(): PurchaseEntity =
        PurchaseEntity(
            id, name, price, walletId
        )
}
